﻿@model vnMcdonald.Models.Image

                @{
                    if (Model.IsActive == 1)
                    {
                        @Ajax.ActionLink("Mở", "Update_status_image", new { id = Model.ImageId }, new AjaxOptions { InsertionMode = InsertionMode.Replace, UpdateTargetId = "image-" + string.Format("{0}", Model.ImageId) }, new {@class ="enable" })
                        //<span class="sttimg sttimg_enable"></span>
                    }
                    else
                    {
                        @Ajax.ActionLink("Đóng", "Update_status_image", new { id = Model.ImageId }, new AjaxOptions { InsertionMode = InsertionMode.Replace, UpdateTargetId = "image-" + string.Format("{0}", Model.ImageId) }, new {@class ="disable" })
                        //<span class="sttimg sttimg_disable"></span>
                    } 
                }